package Entities;
import java.io.Serializable;

import common.CommonMethods;

public class RequestEntity implements Serializable{
	/**
	 * @author Idan Mann
	 * This class is a request entity
	 *	It is used to transfer requests from and to the database.
	 */
private static final long serialVersionUID = -7221415333535896990L;
private String currentStatusDescription;
private String offeredChangeDescription;
private String explanation;
private String remarks;
private String firstName;
private String lastName;
private String date;
private String title;
private String email;
private int rid;
private String fileName;
private String uid;
private String system;
private String deadline;
private String status;
private String statusid;



public RequestEntity(String currentStatusDescription,String offeredChangeDescription,String explanation,String remarks, String firstName,String lastName,String date,String title,String email,String fileName, String uid, String system)
{
	 this.setCurrentStatusDescription(CommonMethods.cleanStringForQuery(currentStatusDescription));
	 this.setOfferedChangeDescription(CommonMethods.cleanStringForQuery(offeredChangeDescription));
	 this.setExplanation(CommonMethods.cleanStringForQuery(explanation));
	 this.setRemarks(CommonMethods.cleanStringForQuery(remarks));
	 this.setFirstName(firstName);
	 this.setLastName(lastName);
	 this.setDate(date);
	 this.setTitle(title);
	 this.setEmail(email);
	 this.setFileName(fileName);
	 this.setUid(uid);
	 this.setSystem(system);
}

public RequestEntity()
{
	
}

public String getCurrentStatusDescription() {
	return currentStatusDescription;
}

public void setCurrentStatusDescription(String currentStatusDescription) {
	this.currentStatusDescription = currentStatusDescription;
}

public String getOfferedChangeDescription() {
	return offeredChangeDescription;
}

public void setOfferedChangeDescription(String offeredChangeDescription) {
	this.offeredChangeDescription = offeredChangeDescription;
}

public String getExplanation() {
	return explanation;
}

public void setExplanation(String explanation) {
	this.explanation = explanation;
}

public String getRemarks() {
	return remarks;
}


public String getFirstName() {
	return firstName;
}

public void setFirstName(String firstName) {
	this.firstName = firstName;
}

public String getLastName() {
	return lastName;
}

public void setLastName(String lastName) {
	this.lastName = lastName;
}

public String getDate() {
	return date;
}

public void setDate(String date) {
	this.date = date;
}

public String getTitle() {
	return title;
}

public void setTitle(String title) {
	this.title = title;
}

public String getEmail() {
	return email;
}

public void setEmail(String email) {
	this.email = email;
}

public int getRid() {
	return rid;
}

public void setRid(int rid) {
	this.rid = rid;
}

public String getFileName() {
	return fileName;
}

public void setFileName(String fileName) {
	this.fileName = fileName;
}



public void setUid(String uid) {
	this.uid = uid;
}






public void setrid(int rid)
{
	 this.rid=rid; 
}

public String getCSD()
{
	return currentStatusDescription;
}

public String getOCD()
{
	return offeredChangeDescription;
}
public String getEXP()
{
	return explanation;
}
public String getRE()
{
	return remarks;
}
public String getFN()
{
	return firstName;
}
public String getLN()
{
	return lastName;
}
public String getD()
{
	return date;
}
public String getT()
{
	return title;
}
public String getE()
{
	return email;
}
public int getRID()
{
	return rid;
}
public String getFIN()
{
	return fileName;
}
public String getSystem()
{
	return system;
}
public String getUid()
{
	return uid;
}

public void setDeadline(String deadline)
{
	this.deadline=deadline;
}
public String getDeadline()
{
	return deadline;
}

public void setStatus(String status)
{
	this.status=status;
}
public String getStatus()
{
	return status;
}

public void setRemarks(String remarks)
{
	this.remarks=remarks;
}

public String getStatusid() 
{
	return statusid;
}

public void setStatusid(String statusid)
{
	this.statusid = statusid;
}

public void setSystem(String system)
{
	this.system = system;
}






}
